﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace GestionIncidencias.Models
{
    public class Tecnico
    {
        [Required(ErrorMessage = "El Codigo es requerido")]
        [Display(Name = "Codigo", Description = "Codigo")]
        public int Codigo { get; set; }

        [Required(ErrorMessage = "El Nombre es requerido")]
        [Display(Name = "Nombre", Description = "Nombre")]
        public string Nombre { get; set; }

        [Required(ErrorMessage = "El Apellido es requerido")]
        [Display(Name = "Apellido", Description = "Apellido")]
        public string Apellido { get; set; }

        [Required(ErrorMessage = "La Especialidad es requerida")]
        [Display(Name = "Especialidad", Description = "Especialidad")]
        public string Especialidad { get; set; }
    }
}